#include "input_sys.h"
#include "input_key.h"
#include "input_net.h"
#include "input_voice.h"
#include <stdio.h>


static pInputDevice pHead;


void InDevListIns(pInputDevice target)
{
    target->next = pHead;
    pHead = target;
}


void InputDevAdd(void)
{
    KeyAdd();
    NetAdd();
    VoiceAdd();
}


void InputDevInit(void)
{
    pInputDevice tmp = pHead;
    while(tmp != NULL)
    {
        tmp->Init();
        tmp = tmp->next; 
    }
}

